package com.lyh.springJDBC.dao;

import com.lyh.springJDBC.model.User;

import java.util.List;

/**
 * Created by Admin on 2017/10/31.
 */
public interface UserDao {
    public void add(User user);

    public void update(User user);

    public void delete(int id);

    public User load(int id);

    public List<User> list();
}
